package com.chb.proxy.staticagent;

/**
 * @author chihb
 * @create-time 2024/10/24 9:48
 * @description
 */
public class Proxy implements Sell{
    private Sell sell;
    public Proxy(Sell sell)
    {
        this.sell = sell;
    }
    @Override
    public void sellHouse() {
        System.out.println("我是中介,可以收点手续费");
        sell.sellHouse();
    }
}
